import request from '@/utils/request'

// 获取GEP结果列表
export function getGepResults(params) {
  return request({
    url: '/gep-results/',
    method: 'get',
    params
  })
}

// 获取GEP结果详情
export function getGepResult(id) {
  return request({
    url: `/gep-results/${id}`,
    method: 'get'
  })
}

// 创建GEP结果
export function createGepResult(data) {
  return request({
    url: '/gep-results/',
    method: 'post',
    data
  })
}

// 更新GEP结果
export function updateGepResult(id, data) {
  return request({
    url: `/gep-results/${id}`,
    method: 'put',
    data
  })
}

// 删除GEP结果
export function deleteGepResult(id) {
  return request({
    url: `/gep-results/${id}`,
    method: 'delete'
  })
} 